The OTP (One-Time Programmable) Programmer tool in the SmartSnippets™ Toolbox is used for burning the OTP Memory and OTP Header. Once this is programmed, it cannot be erased.
Set the right application flags to be able to boot from the OTP. Application Flag 1 and Application Flag 2 are set to “YES” as shown in Figure 39. The OTP DMA length can be set as a hexadecimal value equal to the code binary size divided by 4. To do this, open the .bin file in any hex editor which will give the length of the code. Dividing this by 4 will give the OTP DMA length value to be entered (in Hexadecimal). This field can also be left blank, however, entering this value results in a slightly quicker execution of code from the OTP.
Once these values of the header are set, connect and burn the OTP header.
Application flag 1 and application flag 2 should be set to the value “Yes” as shown in Figure 39.
On the OTP Image tab, select the file to download and burn to OTP. After burning the header and the image, the device will be able to boot from OTP and bypass the ROM boot sequence as described in BootROM Sequence.
The boot energy analysis in the BUCK configuration can be found in Table 5 and the power profile from power-up until the first BLE advertisement is shown in Figure 40.
Figure 40 OTP Boot Energy Power Profile measurements for DA14531